<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>js输出交互</title>
</head>
    <script type="text/javascript">
        document.write("<h1>这个是一个链接</h1>");
        alert('百度');

        result = prompt("喜欢吃还是睡","都喜欢");
        alert(result);

        res = confirm('您确定要删除吗');
        alert(res);

        console.log("这是一个日志");
    </script>
<body>
	
</body>
</html>